all: main test condtest

main: cThreadPool/main.c cThreadPool/threadpool.c
	g++ -g -o main cThreadPool/main.c cThreadPool/threadpool.c -lpthread

test: c++ThreadPool/test.cpp c++ThreadPool/cppthreadpool.cpp
	g++ -std=c++11 -g -o test c++ThreadPool/test.cpp c++ThreadPool/cppthreadpool.cpp -lpthread

condtest: condTest/condtest.cpp
	g++ -o cond condTest/condtest.cpp -lpthread

.PHONY:
clear:
	rm -rf main test cond